xenpaging: add helper function for unlinking pagefile
authorOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:25 +0000 (10:47 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:25 +0000 (10:47 +0200)
commit3ea71e936f7e5a42a2e4c4695d92179fa9ddaff1
tree9c49f5023a91f15ce3bf4bf536c8b23557439932
parenta060af0ecc8f7b0abbccce1b0a12abd73e57cf90
xenpaging: add helper function for unlinking pagefile

Unlink pagefile in the signal handler and also in the exit path.
This does not leave a stale pagefile if an error occoured.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/xenpaging.c